// HotKeyDlg.cpp : implementation file
//

#include "stdafx.h"
#include "Auto-HotKey.h"
#include "HotKeyDlg.h"


// CHotKeyDlg dialog

IMPLEMENT_DYNAMIC(CHotKeyDlg, CDialog)

CHotKeyDlg::CHotKeyDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CHotKeyDlg::IDD, pParent)
{

}

CHotKeyDlg::~CHotKeyDlg()
{
}

void CHotKeyDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
}


BEGIN_MESSAGE_MAP(CHotKeyDlg, CDialog)
	ON_BN_CLICKED(IDOK, &CHotKeyDlg::OnBnClickedOk)
END_MESSAGE_MAP()

BOOL CHotKeyDlg::OnInitDialog()
{		
	CDialog::OnInitDialog();
	
	CHtmlPanel* pnlGuide = new CHtmlPanel();
	pnlGuide->Create(IDD_HTML, GetDlgItem(IDC_PANEL));
	pnlGuide->LoadFromResource(IDR_HTML1);
	pnlGuide->ShowWindow(SW_SHOW);	

	return TRUE;
}

// CHotKeyDlg message handlers


void CHotKeyDlg::OnBnClickedOk()
{
	// TODO: Add your control notification handler code here
	mi(1);
	//OnOK();
}
